package com.runssnail.huafeiduo.api.domain;

import java.util.List;

/**
 * Created by zhengwei on 2016/3/31.
 */
public class OrderList extends BaseDomain {

    private int count;

    private int page;

    private int page_size;

    private List<Order> orders;

    public boolean isEmpty() {
        return this.orders == null || this.orders.isEmpty();
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPage_size() {
        return page_size;
    }

    public void setPage_size(int page_size) {
        this.page_size = page_size;
    }

    public List<Order> getOrders() {
        return orders;
    }

    public void setOrders(List<Order> orders) {
        this.orders = orders;
    }
}
